package com.qf.service.impl;

import com.qf.entity.SysLog;
import com.qf.entity.SysLogDTO;
import com.qf.mapper.SysLogMapper;
import com.qf.service.SysLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName: SysLogServiceImpl
 * @Author: WangHao
 * @Date: 2025/5/10 17:37
 * @Description:
 * @Version: 1.0
 */
@Service
public class SysLogServiceImpl implements SysLogService {
    @Autowired
    private SysLogMapper sysLogMapper;
    @Override
    public List<SysLog> findAll(SysLogDTO sysLogDTO) {
        return sysLogMapper.findAll(sysLogDTO);
    }

    @Override
    public boolean delById(Integer id) {
        return sysLogMapper.delById(id);
    }

    @Override
    public boolean delByIds(Integer[] ids) {
        return sysLogMapper.delByIds(ids);
    }
}
